home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / bbs / l2100.zip / IGM.DOC < prev    next >
Text File  |  1997-06-24  |  5KB  |  138 lines

  1.  
  2.            Help for making IGM's that install with IGM.EXE V1.00
  3.  
  4. What is IGM.EXE?
  5.  
  6. It is a utility that install uninstall IGM's into LORD2 - without it, it
  7. would be very hard because the Sysop would have to manually do it, or you
  8. would have to include the whole MAP.DAT file and ruin any other things
  9. the sysop had installed.
  10.  
  11. Things it does for you:
  12.  
  13.  * Provides a standard.
  14.  * installs an IGM by typing "igm igmname.igm".
  15.  * Can replace maps *AND* will automatically add the map if the destination
  16.    block is empty.
  17.  * Creates it's own uninstall data!
  18.  * Uninstalls by trying to install it twice. (typing the same thing again)
  19.  * When uninstalling an IGM, it restores whatever was there.  (note, if the
  20.    map didn't exist before, it leaves the IGM's screen.. this is fine, even
  21.    though it will never be used)
  22.  * Updates the 3rdparty.dat file - this is just a text file used by the
  23.    LORD2 help screen which shows which IGM's are installed.  If no IGM's
  24.    are installed, it shouldn't exist.  (IGM will delete it if you uninstall
  25.    the last IGM)
  26.  
  27.    A player can view IGM's installed in the game by hitting ?, then
  28.    choosing 'Current Game Settings'.
  29.  
  30.  * When replacing/adding screens, you can specify if they 'show up on the
  31.    map or not'
  32.  
  33.  
  34.   ******* STEP BY STEP INSTRUCTIONS ON MAKING AN IGM **********
  35.  
  36.   Ok, lets say you just made 'Bill's tavern' somewhere with the World editor
  37.   in LORD2, and made it warp to a new screen that has the inside, and this
  38.   has some hotspots that call stuff from bill.ref.
  39.  
  40.   And now you want to share it with the rest of the world.  Is it hard?  No!
  41.  
  42.   * Step 1
  43.  
  44.   Download CRAZY100.ZIP, this is an example IGM I made to use as a template.
  45.  
  46.   Edit CRAZY.IGM and rename it to BILL.IGM.  This is your IGM control file.
  47.  
  48.   This is where we tell IGM.EXE what screens to replace, the name of the IGM
  49.   and any additional information you want the sysop to know.
  50.  
  51.   Look for the string
  52.  
  53.   igmname: `0Crazy Man's House `2by `0Seth A. Robinson
  54.  
  55.   and replace it with "igmname: Bill's Tavern by Joe Smoe" or whatever.
  56.  
  57.   * Step 2
  58.  
  59.   Go into the World editor.  Write down the BLOCK #'s of the two screens
  60.   you use.  Next, while on top of one of the screens, hit E to extract the
  61.   map.  When it asks for a filename choose BILL.DAT.  (it MUST be called
  62.   this to match BILL.IGM)
  63.  
  64.   Do the same thing with the other screen - notice it says 'Saved as record 1'
  65.   and 'saved as record 2'.  This is important!
  66.  
  67.   Now you have created your BILL.DAT file, which will be used to replaced
  68.   the screen when the IGM is installed.
  69.  
  70.   * Step 3
  71.  
  72.   Now edit the place where you see
  73.  
  74.   replacescreen: 1439 1 show
  75.  
  76.   and change the 1439 to the BLOCK # to replace, and the 1 to the record
  77.   # of the map to replace it with.  (it will read that from BILL.DAT)
  78.  
  79.   If you leave the 'show' this means it WILL show up on the players map.  If
  80.   you put 'noshow' this means it will NOT show up on the players map.  (do
  81.   this for inside houses, hidden things, etc)
  82.  
  83.   Make *SURE* you have a carriage return ABOVE and BELOW each replacescreen
  84.   command.  Can't remember why that is important, or even if it is but..
  85.  
  86.   Optionally, you can add an
  87.  
  88.   installmessage:
  89.  
  90.   Anything under this will be shown to the user when he installs the
  91.   IGM.  Always put this at the END.
  92.  
  93.   * Step 4
  94.  
  95.   Ok!  Time to test it out.  Copy bill.igm, bill.dat and bill.ref into a
  96.   dir with a FRESH copy of LORD2 installed.
  97.  
  98.   Type "IGM bill" or "IGM bill.igm" (it will add the .IGM)
  99.  
  100.   It should say it installed ok.
  101.  
  102.   Next check the World Editor - is the map there?  Does it look right?
  103.  
  104.   It should have made a bill.sav file.
  105.  
  106.   Now type "igm bill" again - it should UNINSTALL.  Go check - did it really
  107.   change the screens it replaced back to normal?  (remember, if there was
  108.   no screen there originally, its ok that it is still the screen from your
  109.   IGM.. it only changes REPLACEMENTS back.)
  110.  
  111.   If everything looked good, put bill.igm, bill.ref, bill.dat and a
  112.   file_id.diz into a dir and zip it!  You've created your first IGM!!!
  113.  
  114.   *** Suggestions ****
  115.  
  116.   * Don't use any player or global vars.. save and load your own using the
  117.     @writefile and @readfile commands.
  118.   * NEW!!  Check out refhelp.doc and example.ref to see how to use the new
  119.     commands @datasave, @dataload and @datanewday - it makes it EASY for
  120.     your IGM to create it's OWN data file and keep track of wether or not
  121.     a user has done a certain thing yet that day.  It can actually save a
  122.     longint (up to 2.2 billion) for each player so it could be used as
  123.     other player specific things you might want to save as well.
  124.   * Don't include any .REFs that overwrite .refs written by me
  125.   * Don't add new items and include the items.dat file
  126.  
  127.   If you break any of those rules, be SURE to note it in text in
  128.   bill.igm - so the sysop knows.  He can compare it to his other IGM's and
  129.   see if there is a conflict or not.
  130.  
  131.   Thanks, and if you have questions/problems, feel free to email me at
  132.   sethable@rtsoft.com.  I'm slow sometimes, but I ALWAYS reply.
  133.  
  134.   Remember, after you make an IGM send it to my LORD2 IGM page!  Hit
  135.   www.rtsoft.com to find the link to it, as it may change.
  136.  
  137.   -Seth
  138.